/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ru.infosystem.server.dao;

import java.util.ArrayList;
import ru.infosystem.client.data.Group;
import ru.infosystem.client.data.ServerException;
import ru.infosystem.client.data.Student;

/**
 *
 * @author gbuh
 */
public interface DaoGroup {

    Group getByNum(int num);

    ArrayList<Student> getListOfStudents(int num);

    boolean addNewGroup(Group group) throws ServerException;

    boolean deleteGroup(Group group) throws ServerException;
}
